package com.c.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;


/**
 * @author wangxiangli
 * @create 2023-01-02-21:38
 */
@Data
@TableName("information")
@Accessors(chain = true)
public class Information implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;//主键
    @TableField("title")
    private String title;//标题
    @TableField("content")
    private String content;//主要内容
    @TableField("photo")
    private String photo;//图片
    @TableField("status")
    private Integer status;//状态  0未发布|1已发布
    @TableField("cratetime")
    private Date cratetime;//创建时间
    @TableField("updatetime")
    private Date updatetime;//修改时间
    @TableField("introduction")
    private String introduction;//简介
}
